package org.bao.netcrawler.policy.model;

/**
 * 
 * a <b>Target</b> object contains one target's position and character
 * @author Bao<bb@feijiao.info>
 * @since 2010-12-24
 * @version 0.9.0
 * @license GPLv3
 */
public class Target {
	private String id = null;
	private String position = null;
	private String character = null;
	
	public Target(){
	//empty
	}
	
	public Target(String id, String position, String character){
		this.id = id;
		this.position = position;
		this.character = character;
	}

	
	//getter and setter methods
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getCharacter() {
		return character;
	}

	public void setCharacter(String character) {
		this.character = character;
	}
	
	public String toString(){
		return "[id = " + this.getId() + ", position = " + this.getPosition() + ", character = " + this.getCharacter() + "]";
	}
}
